Upgrading to 0.13.0
Breaking changes
on-run-start and on-run-end
The special Jinja variable {{this}}
is no longer implemented for on-run-start
and on-run-end
hooks.
Use a variable from the {{ target }}
context or on-run-end
context instead.
Adapter methods
A number of materialization-specific adapter methods have changed in breaking ways. If you use these adapter methods in your macros or materializationsThe exact Data Definition Language (DDL) that dbt will use when creating the model’s equivalent in a data warehouse., you may need to update your code accordingly.
- query_for_existing - removed, use get_relation instead.
- get_missing_columns - changed to take
Relation
s instead of schemas and identifiers - expand_target_column_types - changed to take a
Relation
instead of schema, identifier - get_relation - added a
database
argument - create_schema - added a
database
argument - drop_schema - added a
database
argument
End of support
Version 1 schema.yml specs (deprecated in 0.11.0) are no longer supported. Please use the version 2 spec instead.
See the 0.11.0 migration guide for details.
0